<template name="collection">
	<div class="list-block media-list" style="margin-top:5px;">
		{{#if Collections}}
		<ul>
			 {{#each Collections}}
			<li style="border-bottom: 1px solid #ddd;">
					<div class="item-content" style="border:1px sloid #a2a2a2;">
						<a href="/merchantDetail/{{merchant.id}}" class="item-link">
						<div class="item-media">
							<img class="ft-movielist-item-img" src="{{merchant.list_image.path}}" width="60" height="50">
						</div>
					</a>
						<div class="item-inner">
							<a href="/merchantDetail/{{merchant.id}}" class="item-link">
							<div class="item-title-row">
								<div class="item-title">{{merchant.name}}</div>
							</div>
						</a>
							<div class="item-subtitle">{{>star stars = merchant.stars s_size = 13}}</div>
							<div class="item-text" style="height:20px;">
									<span>地址：{{merchant.address}}</span>
								<!-- <button class="f7-collection-button" id="{{id}}">取消</button> -->
							</div>
						</div>
					</div>
			</li>
			 {{/each}}
		</ul>
		{{else}}
    {{>noData}}
    {{/if}}
	</div>
</template>
